package com.example.myproject.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("download_record")
public class DownloadRecord {
    @TableId
    @TableField("record_id")
    private Long RecordId;
    @TableField("user_id")
    private Long userId;
    @TableField("torrent_id")
    private Long torrentId;
    @TableField("download_byte")
    private Long downloadByte;
    @TableField("is_complete")
    private Boolean isComplete;
    @TableField("download_time")
    private LocalDateTime downloadTime;

}
